<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Backend extends CI_Controller {

    	public function __construct(){

            parent::__construct();
            $this->load->helper('url');
        }

        public function index(){

            $this->load->model("News_model");
            $data['news_list']  = $this->News_model->news_list();

            $data['page'] = "dashboard_content";
            $this->load->view('admin/dashboard', $data);
        }

            

}
?>
